﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Tool
{
   public  class ApiController: ControllerBase
    {
        public static object ResultArray(object obj = null)
        {
            ResultOutput ro = new ResultOutput();

            return ro.getModel();
            //if (obj==null)
            //{
            //    return ro.getModel();
            //}
            //if (obj.Equals(false))
            //{
            //    return ro.getModel();
            //}
            //else
            //{
            //    List<Result> mList = new List<Result>();
            //    mList.Add(ro.getModel());

            //    return mList;
            //}

        }
    }
}
